package com.kornero.auto.view.groups;

import com.kornero.auto.util.view.RequiresSWT;
import com.kornero.auto.util.view.RequiresSWTPolicy;
import org.eclipse.swt.widgets.Listener;

public interface IMainGroup {

    @RequiresSWT
    public void addRequestListener(final Listener listener);

    @RequiresSWT
    public void addClearDBListener(final Listener listener);

    @RequiresSWT
    public void addClearOldListener(final Listener listener);

    @RequiresSWT
    public void resetProgressBar();

    @RequiresSWT
    public void setUpProgressBar(final int max);

    @RequiresSWT
    public void incProgressBar();

    @RequiresSWT
    public void setMessage(final String message);

    @RequiresSWT
    public void setConnectionStatus(final String status);

    @RequiresSWT(RequiresSWTPolicy.SYNC)
    public int getDaysOld();
}
